﻿@model IEnumerable<MediaAdmin.Controllers.AssetController.LocatorSummary>
@{
    var iter = 0;
}

@if ((Model == null) || (Model.Count() == 0))
{
    <br />
    <strong>none</strong>
}else
{
    <small>*uncheck to delete</small>
    foreach (var locator in Model)
    { 
        <br />
        @Html.CheckBox("AvailableLocators[" + iter + "].KeepAlive", locator.KeepAlive) <strong>@string.Format("{0} {1}", locator.Type, locator.ExpirationDateTime.ToString("dd MMM hh:mm"))</strong>                                                                          
        @Html.Hidden("AvailableLocators[" + iter + "].Id", locator.Id)                                                                                              
        iter++;
    }
}


